<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%> 

<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%> 

<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>

<%@ taglib uri="/WEB-INF/translator.tld" prefix="trans" %>


<trans:initPage module="sectors" />
<logic:notPresent scope="request" name="sstats">

<b><trans:showPageMessage label="sect.nosectors" /></b>

</logic:notPresent>

<logic:present scope="request" name="sstats">

<tr bgcolor="#FFFFFF" align=center>

<td class="text_searchbold">

<trans:showPageMessage label="sect.name" />

	</td>

<td width="20%" align=center class="text_searchbold">

<trans:showPageMessage label="sect.projcount" />
 </td>

</tr>

<logic:iterate length="5" scope="request" name="sstats" id="sitem">

<tr bgcolor="#FFFFFF">

<td class="text_search">

<html:link page="/sectorstats.do?stype=sector" paramName="sitem" paramProperty="id" paramId="parent">

+

</html:link>

<html:link page="/search.do?report=y" paramName="sitem" paramProperty="id" paramId="scode">

<bean:write name="sitem" property="name"/>

</html:link>

</td>

<td align=center class="text_search">

<bean:write name="sitem" property="count"/>

</td>

</tr>

</logic:iterate>

<tr align=right> <td bgcolor="#FFFFFF" colspan="2" align="center"> 

<a href="<html:rewrite page='/sectorstats.do?mode=list'/>"><trans:showPageMessage label="sect.more" /></a>

</td>


</tr>

</logic:present>